<?php
header('Content-type: text/html; charset=utf-8');
	require_once "sendmail.php";
	$str = '网址:'.$_POST['SiteUrl']."<br />";
	$str .="网站名称:".$_POST['SiteName']."<br />";
	$str .="联系方式:".$_POST['SenderEmail']."<br />";
	$str .="投放位置:".$_POST['SiteContact']."<br />";
	$str .="建站时间:".$_POST['CreateTime'] ."<br />";
	$str .="日访问量:".$_POST['AlexaValue'] ."<br />";
	$str .="网站简介:".$_POST['Comments'];
$newmail = new sendmail();
$newmail->send('secclass@126.com','广告申请',$str,'申请广告系统');
?>
<script>alert('申请成功');window.history.go(-1);</script>
